package com.coder.shop.dao.mapper;

import com.coder.shop.dao.model.ShopCartItem;
import com.coder.shop.dao.model.ShopCartItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopCartItemMapper {
    long countByExample(ShopCartItemExample example);

    int deleteByExample(ShopCartItemExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ShopCartItem record);

    int insertSelective(ShopCartItem record);

    List<ShopCartItem> selectByExample(ShopCartItemExample example);

    ShopCartItem selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ShopCartItem record, @Param("example") ShopCartItemExample example);

    int updateByExample(@Param("record") ShopCartItem record, @Param("example") ShopCartItemExample example);

    int updateByPrimaryKeySelective(ShopCartItem record);

    int updateByPrimaryKey(ShopCartItem record);
}